/**
 * Created by Administrator on 2017\9\7 0007.
 */
import React from 'react';
import template from './../../commonui/template';
import { Link } from 'react-router-dom';

class Login extends React.Component{
    constructor(props){
        super(props);
        this.state={
            lb:'个人用户',
            formdata:{}
        }
    }
    render(){
        rerturn (
            <div>
                <div>
                    <span>
                        个人用户
                    </span>
                    <span>
                        企业用户
                    </span>
                </div>
                <div>
                    <div>
                        <label>手机号：</label>
                        <input name="Tel"/>
                    </div>
                    <div>
                        <label>验证码：</label>
                        <input name="eCode"/>
                        <button>获取验证码</button>
                    </div>
                    <div>
                        <button>登录</button>
                    </div>
                </div>
                <div>
                    <span>
                          <Link to={'/Fgt'}><span>忘记密码/手机号</span></Link>
                    </span>
                    <span>
                          <Link to={'/RgstCst'}><span>注册{this.state.lb}用户</span></Link>
                    </span>
                </div>
            </div>
        )
    }
}

export default template({
    id: 'Login',
    component: Login
});